{% extends 'base.html' %}
 {% block bar %}
         <div class="col-md-9" style=  "justify-content: flex-end;">
            <h1 class="page-header">客户管理页面</h1>
        <div class="panel panel-primary">
                <!-- Default panel contents -->
        <div class="panel-heading">新增客户<i class="fa fa-thumb-tack pull-right"></i></div>
            <div  class="panel-body">
                 <!-
            </div>
      </div>
 {% endblock %}

{% block main%}
    <form action="" method="post">
        {% csrf_token %}
        <p>
            &nbsp订单日期：<input id="order_time" name="order_time" type="date" style="width:200px;"/>
        </p>
        <p>
            &nbsp订&nbsp&nbsp单&nbsp&nbsp号：<input type="text" name="order_num" style="width:200px;">
        </p>
        <p>
            &nbsp客户姓名：<input type="text" name="customer_name" style="width:200px;">
        </p>
        <p>
            &nbsp客户电话：<input type="text" name="customer_phone" style="width:200px;">
        </p>
        <p>
            &nbsp地&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp址：<input type="text" name="customer_adr" style="width:200px;">
        </p>
        <p>
            &nbsp成交金额：<input type="text" name="deal_money" style="width:200px;">
        </p>
        <p>
            &nbsp定&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp金：<input type="text" name="deposit_money" style="width:200px;">
        </p>

        <p>
            &nbsp量&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp尺：<label><input type="radio" name="ruler_flag" value="0">未量尺</label> &nbsp&nbsp&nbsp&nbsp <label><input type="radio" name="ruler_flag" value="1">已量尺</label>
        </p>


        <p>
            &nbsp送&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp货：<label><input type="radio" name="delivery_flag" value="0">未送货</label> &nbsp&nbsp&nbsp&nbsp <label><input type="radio" name="delivery_flag" value="1">已送货</label>
        </p>
        <p>
            &nbsp送货时间：<input type="text" name="delivery_time" style="width:200px;">
        </p> <p>
            &nbsp结清状态：<label><input type="radio" name="clean_status" value="0">未结清</label> &nbsp&nbsp&nbsp&nbsp <label><input type="radio" name="clean_status" value="1">已结清</label>
        </p>

        <p>
            &nbsp备&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp注：<input type="text" name="remarks" style="width:200px;">
        </p>
        <p>
            &nbsp&nbsp<button type="submit" class="btn">提交</button>
        </p>

    </form>
{% endblock %}